package com.testdocs.client.project.create;

import com.google.gwt.user.client.ui.IsWidget;
import com.testdocs.client.project.ProjectInfo;
import com.testdocs.client.validation.ConstraintViolationException;

public interface CreateProjectView extends IsWidget {
    void setPresenter(Presenter presenter);
    void clearForm();

    public interface Presenter {
    	public ProjectInfo doCreate(String projectName, String projectVersion)  throws ConstraintViolationException;
    }
}
